Micron Document
🎖️GitЯра🎖️


Displaying Raw • Download

desktop/src/main/kotlin/org/meshtastic/desktop/navigation/DesktopNavigation.kt a3c0a4832d139b9ed15cc2fdd22d9d2c0bef1db4 (a3c0a483) Text, 2.91 KB

T8b949e/*
* Copyright (c) 2025-2026 Meshtastic LLC
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/
Tff7b72package T7ee787org.meshtastic.desktop.navigation

Tff7b72import T7ee787androidx.navigation3.runtime.EntryProviderScope
Tff7b72import T7ee787androidx.navigation3.runtime.NavBackStack
Tff7b72import T7ee787androidx.navigation3.runtime.NavKey
Tff7b72import T7ee787org.meshtastic.feature.connections.navigation.connectionsGraph
Tff7b72import T7ee787org.meshtastic.feature.firmware.navigation.firmwareGraph
Tff7b72import T7ee787org.meshtastic.feature.map.navigation.mapGraph
Tff7b72import T7ee787org.meshtastic.feature.messaging.navigation.contactsGraph
Tff7b72import T7ee787org.meshtastic.feature.node.navigation.nodesGraph
Tff7b72import T7ee787org.meshtastic.feature.settings.navigation.settingsGraph
Tff7b72import T7ee787org.meshtastic.feature.settings.radio.channel.channelsGraph
Tff7b72import T7ee787org.meshtastic.feature.wifiprovision.navigation.wifiProvisionGraph

T8b949e/**
* Registers entry providers for all top-level desktop destinations.
*
* Nodes uses real composables from `feature:node` via [nodesGraph]. Conversations uses real composables from
* `feature:messaging` via [desktopMessagingGraph]. Settings uses real composables from `feature:settings` via
* [settingsGraph]. Connections uses the shared [ConnectionsScreen]. Other features use placeholder screens until their
* shared composables are wired.
*/
Tff7b72fun Td2a8ffEntryProviderScopeTff7b72<Te6edf3NavKeyTff7b72>Tb4b4b4.Te6edf3desktopNavGraphTb4b4b4(
Te6edf3backStackTb4b4b4: Te6edf3NavBackStackTff7b72<Te6edf3NavKeyTff7b72>Tb4b4b4,
Te6edf3uiViewModelTb4b4b4: Te6edf3orgTb4b4b4.Te6edf3meshtasticTb4b4b4.Te6edf3coreTb4b4b4.Te6edf3uiTb4b4b4.Te6edf3viewmodelTb4b4b4.Te6edf3UIViewModelTb4b4b4,
Tb4b4b4) Tb4b4b4{
T8b949e// Nodes — real composables from feature:node
Te6edf3nodesGraphTb4b4b4(
Te6edf3backStack Tff7b72= Te6edf3backStackTb4b4b4,
Te6edf3scrollToTopEvents Tff7b72= Te6edf3uiViewModelTb4b4b4.Te6edf3scrollToTopEventFlowTb4b4b4,
Te6edf3onHandleDeepLink Tff7b72= Te6edf3uiViewModelTff7b72::Te6edf3handleDeepLinkTb4b4b4,
Tb4b4b4)

T8b949e// Conversations — real composables from feature:messaging
Te6edf3contactsGraphTb4b4b4(Te6edf3backStackTb4b4b4, Te6edf3uiViewModelTb4b4b4.Te6edf3scrollToTopEventFlowTb4b4b4)

T8b949e// Map — placeholder for now, will be replaced with feature:map real implementation
Te6edf3mapGraphTb4b4b4(Te6edf3backStackTb4b4b4)

T8b949e// Firmware — in-flow destination (for example from Settings), not a top-level rail tab
Te6edf3firmwareGraphTb4b4b4(Te6edf3backStackTb4b4b4)

T8b949e// Settings — real composables from feature:settings
Te6edf3settingsGraphTb4b4b4(Te6edf3backStackTb4b4b4)

T8b949e// Channels
Te6edf3channelsGraphTb4b4b4(Te6edf3backStackTb4b4b4)

T8b949e// Connections — shared screen
Te6edf3connectionsGraphTb4b4b4(Te6edf3backStackTb4b4b4)

T8b949e// WiFi Provisioning — nymea-networkmanager BLE protocol
Te6edf3wifiProvisionGraphTb4b4b4(Te6edf3backStackTb4b4b4)
Tb4b4b4}

Served by rngit 1.5.2 - Generated in 0.06s